{% layout = "basect.html" %}

{-title-}Contact us{-title-}

{-content-}

<form class="form-horizontal" method="POST">
    <div class="form-group">
        <label for="inputEmail" class="col-sm-2 control-label">Reply to email</label>
        <div class="col-sm-10">
            <input name="email" type="email" class="form-control" id="inputEmail" placeholder="Email">
        </div>
    </div>
    <div class="form-group">
        <label for="inputTitle" class="col-sm-2 control-label">Title</label>
        <div class="col-sm-10">
          <input name="title" class="form-control" id="inputTitle" placeholder="Title">
        </div>
    </div>
    <div class="form-group">
        <label for="inputMessage" class="col-sm-2 control-label">Message</label>
        <div class="col-sm-10">
            <textarea name="message" class="form-control" id="inputMessage" placeholder="Message" rows="10"></textarea>
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">Send</button>
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            {% if info ~= '' then %}
            <p class="bg-success" style="padding: 10px;"> {{ info }}</p>
            {% end %}

            {% if error ~= '' then %}
            <p class="bg-danger" style="padding: 10px;"> {{ error }}</p>
            {% end %}
        </div>
    </div>
</form>

{-content-}
